package com.guoxue.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.guoxue.dao.IPersonPushDao;
import com.guoxue.domain.PersonPushVo;

@Repository
public class PersonPushDaoImpl extends BaseDaoImpl<PersonPushVo> implements IPersonPushDao{

	@Override
	public List<PersonPushVo> getPersonPushList() {
		return find("FROM PersonPushVo p ORDER BY p.createTime DESC");
	}

	@Override
	public void savePersonPush(PersonPushVo personPush) {
		saveOrUpdate(personPush);
	}

}
